package com.sbtr.business.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sbtr.business.system.entity.HelpParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


/**
 * 帮助说明基本信息字段列表 实体类
 *
 * @author dgl
 * @since 2023-07-18
 */
@Data
@Accessors(chain = true)
@ApiModel(value="HelpInfoTreeDto对象")
public class HelpInfoTreeDto {

    private Long id;
    @ApiModelProperty(value = "帮助说明编号")
    private String helpCode;

    @ApiModelProperty(value = "一级菜单名称")
    private String firstMenu;

    @ApiModelProperty(value = "二级菜单名称")
    private String secondaryMenu;

    @ApiModelProperty(value = "所属功能")
    private String functionName;

    @ApiModelProperty(value = "所属操作")
    private String operateName;

    @ApiModelProperty(value = "功能说明")
    private String funDescription;

    @ApiModelProperty(value = "输入端口")
    private String inPort;

    @ApiModelProperty(value = "输出端口")
    private String outPort;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "编辑时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")// 后台传数据到前台
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //前台传数据到后台
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "字段信息")
    List<HelpParam> helpParam;



}
